
/**
 * @description ArReceiptHeadServiceImpl.java
 * @author dongbin
 * @version 
 * @copyright
 */

package com.erp.common.ar.receipt.service.spring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.erp.common.ar.receipt.dao.ArReceiptHeadDao;
import com.erp.common.ar.receipt.service.ArReceiptHeadService;

/**
 * @description
 * @date 2020年10月8日
 * @author dongbin
 * 
 */
@Service("arReceiptHeadServiceCommon")
@Transactional(rollbackFor=Exception.class)
public class ArReceiptHeadServiceImpl implements ArReceiptHeadService {
    
    //注入Dao
    @Autowired
    @Qualifier("arReceiptHeadDaoCommon")
    private ArReceiptHeadDao arReceiptHeadDao;
    
    @Override
    public boolean isExistArReceiptRelateArInvoice(String headCode) {
        return this.arReceiptHeadDao.isExistArReceiptRelateArInvoice(headCode);
    }

}
